<%= form_for(@ybzc) do |f| %>
  <% if @ybzc.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@ybzc.errors.count, "error") %> prohibited this ybzc from being saved:</h2>

      <ul>
      <% @ybzc.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :xm %><br>
    <%= f.text_field :xm %>
  </div>
  <div class="field">
    <%= f.label :xb %><br>
    <%= f.text_field :xb %>
  </div>
  <div class="field">
    <%= f.label :nl %><br>
    <%= f.number_field :nl %>
  </div>
  <div class="field">
    <%= f.label :zjlx %><br>
    <%= f.text_field :zjlx %>
  </div>
  <div class="field">
    <%= f.label :zjhm %><br>
    <%= f.text_field :zjhm %>
  </div>
  <div class="field">
    <%= f.label :grbm %><br>
    <%= f.text_field :grbm %>
  </div>
  <div class="field">
    <%= f.label :zcsj %><br>
    <%= f.datetime_select :zcsj %>
  </div>
  <div class="field">
    <%= f.label :xfjg %><br>
    <%= f.text_field :xfjg %>
  </div>
  <div class="field">
    <%= f.label :zfje %><br>
    <%= f.text_field :zfje %>
  </div>
  <div class="field">
    <%= f.label :sjcdw %><br>
    <%= f.text_field :sjcdw %>
  </div>
  <div class="field">
    <%= f.label :sjcjdwdm %><br>
    <%= f.text_field :sjcjdwdm %>
  </div>
  <div class="field">
    <%= f.label :bz %><br>
    <%= f.text_field :bz %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
